package com.hyfrogx.common.param;

/**
 * 积分服务类型枚举
 * @version hyplatform3.0
 * @date 2018-11-2 11:31:37
 * @author: Li
 */
public enum ScoreSourceType {
    register("注册", 1),
    sgin("签到赠送", 2),
    invitate_user_first("受邀人注册直接奖励", 3),
    invitate_user_second("受邀人注册间接奖励", 4),
    read_infomation("阅读资讯",5),
    open_meet("召开会议",6),
    bean_convert("蛙豆任务兑换奖励",7),
    buy_goods("积分购买商品",8),
    share_course_bonus("分享课程被购买分红积分",9);

    private int code;

    private String msg;

    private ScoreSourceType(String msg, int code) {
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}

